/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
import pojo.DonDatHang;

/**
 *
 * @author pvhuy
 */
public class ReportController extends MultiActionController {

    public ModelAndView handleSimpleReport(HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        Map model = new HashMap();
   //     HttpSession session  = request.getSession();
        List<DonDatHang> donDatHangs = new ArrayList<DonDatHang>();
        model.put("myBeanData", donDatHangs);
        
        return new ModelAndView("simpleReport", model);
    }
}
